# -*- coding: utf-8 -*-

'''
    通用接口
'''

import os

def get_res_path() -> str:
    return os.path.abspath(os.path.join(os.path.dirname(__file__), "../../res"))

def get_knowledge_doc_path() -> str:
    return os.path.join(get_res_path(), "knowledge-base")

def get_vector_store_path() -> str:
    return os.path.join(get_res_path(), "vectordb")